package com.mew.lobby.provide;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@Component
@FeignClient(value = "mew-kernel-user")
public interface CommonFeignService {

    @GetMapping("/common/down/{uid}/{game}/{dtype}")
    @ResponseBody
    Integer downloadGme(@PathVariable("uid") long userId, @PathVariable("game") int game, @PathVariable("dtype") byte dtype);
}
